using System.ComponentModel;
using System.Configuration.Install;
using System.ServiceProcess;

namespace Director
{
	[RunInstaller(true)]
	public class ProjectInstaller : Installer
	{
		public ProjectInstaller()
		{
			var process = new ServiceProcessInstaller {Account = ServiceAccount.LocalSystem};
			var serviceAdmin = new ServiceInstaller { StartType = ServiceStartMode.Manual, ServiceName = "TxmlPipeService", DisplayName = "Txml pipe service display name" };
			Installers.Add(process);
			Installers.Add(serviceAdmin);
		}
	}
}